package com.zl.registration.module.prefix;

import java.io.Serializable;

/**
 * redis中，用于管理用户表的key
 * @author zoulei
 */
public class UserKey extends BaseKeyPrefix implements Serializable {

    public UserKey(String prefix) {
        super(prefix);
    }

    public UserKey(long expireSeconds, String prefix){
        super(expireSeconds, prefix);
    }

    public static final UserKey GET_BY_ID = new UserKey("id");
    public static final UserKey GET_BY_NAME = new UserKey("name");

    public static final UserKey ANSWER_BY_PHONE = new UserKey(5*60000L, "answer");
}
